module.exports = function ($scope, $modalInstance, $resource, toaster){

    $resource('/api/as/goc/enterpriserecord/applylist', {}, {}).save({}, function(res){
        if (res.errcode === 0) {
            $scope.objs = res.data;
        }
    });

    //取消
    $scope.cancel = function () {
        $modalInstance.dismiss('cancel');
    }
    
};